<%-- 
    Document   : muser
    Created on : Nov 16, 2009, 5:36:30 AM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>用户管理</title>
        <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <s:div cssClass="top">
            <s:include value="/header.jsp"/>
            <s:include value="/side.jsp"/>
        </s:div>
        <div style="float:left;padding-left:200px;" align="left">
            用户列表：
            <s:iterator value="uList" id="ui">
                <br>用户名：<s:property value="uname"/>
                <s:a cssClass="color-red" action="AAction!DUser?uid=%{uid}&returnUrl=AAction!SUsers.action" namespace="/admin">删除用户</s:a>
                <s:if test="#ui.ustatus != 0">
                    <s:a cssClass="color-green"  action="AAction!BUser?uid=%{uid}&returnUrl=AAction!SUsers.action" namespace="/admin">限制发帖</s:a>
                </s:if>
                <s:else>
                    <s:a cssClass="color-green" action="AAction!AUser?uid=%{uid}&returnUrl=AAction!SUsers.action" namespace="/admin">解除限制</s:a>
                </s:else>
            </s:iterator>
        </div>
    </body>
</html>
